#include <stdio.h>

int main()
{
	signed int ch1[20];//存数
	int i;
	signed int ch2[20];//存负数
	int ch3[20];//存正数
	int count1=0;//负数位数
	int count2=0;//正数位数
	float sum=0;
	for(i=0;i<20;i++)
	{
		scanf("%d",&ch1[i]);
		if(ch1[i]<0)
		{
			ch2[count1]=ch1[i];
			count1++;
		}
		else
		{
			ch3[count2]=ch1[i];
			sum+=ch3[count2];
			count2++;
		}
	}
	float ret=sum/count2;
	printf("%d\n",count1);
	printf("%.2f\n",ret);
	return 0;
}